package de.hsf.bp.netdoc.gui;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JButton;
import javax.swing.GroupLayout.Alignment;
import javax.swing.GroupLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class Components extends JPanel {
	private	JScrollPane scrollPane;
	GuiView myGUI;

	/**
	 * Create the panel.
	 */
	public Components(GuiView gui) {
		myGUI = gui;
		setLayout(null);
		    


		
		JButton btnCancel = new JButton("cancel");
		btnCancel.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				myGUI.backToStart();
			}
		});
		btnCancel.setBounds(792, 515, 89, 23);
		add(btnCancel);
		
		JButton btnSave = new JButton("Save");
		btnSave.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnSave.setBounds(693, 515, 89, 23);
		add(btnSave);
		setLayout(null);
		add(btnCancel);
		add(btnSave);

	}
}
